﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Entities
{
    /// <summary>
    /// 交易通道
    /// </summary>
    [Table("Trade_Channel")]
    [Serializable]
    public class TradeChannel: Entity<string>
    {
        /// <summary>
        /// 通道名称
        /// </summary>
        [StringLength(maximumLength: 50)]
        public string ChannelName { get; set; }

        /// <summary>
        /// 通道类型
        /// </summary>
        public int ChannelType { get; set; }

        /// <summary>
        /// 通道提供者
        /// </summary>
        public string ChannelProvider { get; set; }

        /// <summary>
        /// 状态(1=开通)
        /// </summary>
        public int State { get; set; }
    }
}
